<?php 

if (!defined('access')){
	die ('Direct access Denied!');
} else {
		
	$profil = new Profil($_SESSION['userid']);
?>
	<div id="profil-left">
		<div id="profil-details">
			<form method="post" action="">
				<input type="text" name="nom" value="<?php echo $profil->getNom(); ?>"/>
				<input type="text" name="prenom" value="<?php echo $profil->getPrenom(); ?>"/>
				<br />
				<input type="text" name="fix" value="<?php echo $profil->getFix(); ?>"/>
				<input type="text" name="port" value="<?php echo $profil->getPort(); ?>"/>
				<input type="text" name="pro" value="<?php echo $profil->getProfession(); ?>"/>
				<br />
				<input type="text" name="adresse" value="<?php echo $profil->getAdresse(); ?>"/>
				<input type="text" name="cp" value="<?php echo $profil->getCP();?>"/> <input type="text" name="ville" value="<?php echo $profil->getVille(); ?>"/>
				<input type="submit" value="Mettre mon profil &agrave; jour"/>
			</form>
		</div>
	</div>
<? } ?>
		
	

<!-- DISPOSITION DE LA PAGE
	________________________________________________________________________________________________
	|										|														|
	|		_____________					|														|
	|		|			 |		pseudo		|			SES TOURNOIS								|
	|		|			 |		since		|			------------								|
	|		|			 |					|			________________________________			|
	|		|			 |		@-mail		|			|_______________________________|			|
	|		|____________|		LICENCE		|			|_______________________________|			|
	|										|			|_______________________________|			|
	|_______________________________________|			|_______________________________|			|
	|										|														|
	|										|														|
	|	Nom									|														|
	|	Prenom								|														|
	|	Age									|														|
	|										|														|
	|	Fix									|														|
	|	Port								|														|
	|	Profession							|														|
	|										|														|
	|	Adresse (!add)						|														|
	|	CP				Ville				|														|
	|										|														|
	|_______________________________________________________________________________________________|
	
-->